 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     font-family: 'Helvetica Neue', Arial, sans-serif;
 }
 
 body {
     background-color: #f8f9fa;
     min-height: 100vh;
     color: #333;
 }
 
 .container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 20px;
 }
 /* 导航栏样式 */
 
 header {
     background-color: #fff;
     border-bottom: 1px solid #eaeaea;
     padding: 15px 20px;
     position: sticky;
     top: 0;
     z-index: 100;
 }
 
 .navbar {
     display: flex;
     justify-content: space-between;
     align-items: center;
 }
 
 .logo {
     font-size: 24px;
     font-weight: 700;
     color: #4a6fa5;
     text-decoration: none;
 }
 
 .nav-links a {
     text-decoration: none;
     color: #555;
     margin-left: 20px;
     font-size: 16px;
 }
 
 .nav-links a:hover {
     color: #4a6fa5;
 }
 
 .category-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 30px;
     padding-bottom: 15px;
     border-bottom: 2px solid #eaeaea;
 }
 
 .category-info {
     display: flex;
     align-items: center;
 }
 
 .category-icon {
     width: 50px;
     height: 50px;
     display: flex;
     align-items: center;
     justify-content: center;
     border-radius: 10px;
     font-size: 24px;
     color: #fff;
     margin-right: 15px;
 }
 
 .category-title {
     font-size: 28px;
     color: #222;
     font-weight: 700;
 }
 
 .sort-options {
     position: relative;
 }
 
 .sort-btn {
     background: none;
     border: 1px solid #ddd;
     padding: 8px 15px;
     border-radius: 4px;
     cursor: pointer;
     display: flex;
     align-items: center;
     gap: 8px;
     font-size: 14px;
     color: #555;
 }
 
 .sort-btn:hover {
     background-color: #f5f5f5;
 }
 
 .sort-menu {
     position: absolute;
     top: 100%;
     right: 0;
     background: white;
     box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
     border-radius: 6px;
     padding: 10px 0;
     width: 180px;
     display: none;
     z-index: 10;
 }
 
 .sort-menu.active {
     display: block;
 }
 
 .sort-item {
     padding: 8px 15px;
     display: flex;
     align-items: center;
     gap: 8px;
     font-size: 14px;
     color: #555;
     cursor: pointer;
 }
 
 .sort-item:hover {
     background-color: #f5f5f5;
     color: #4a6fa5;
 }
 /* 文章列表样式 */
 
 .articles-list {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
     gap: 25px;
     margin-bottom: 40px;
 }
 
 .article-card {
     background-color: #fff;
     border-radius: 12px;
     overflow: hidden;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
     transition: all 0.3s ease;
     cursor: pointer;
     height: 100%;
     display: flex;
     flex-direction: column;
 }
 
 .article-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
 }
 
 .article-thumbnail {
     height: 180px;
     background-color: #e4e7eb;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 24px;
     color: #777;
     position: relative;
 }
 
 .article-badge {
     position: absolute;
     top: 15px;
     left: 15px;
     background-color: #4a6fa5;
     color: #fff;
     padding: 5px 12px;
     border-radius: 50px;
     font-size: 12px;
     font-weight: 500;
 }
 
 .article-content {
     padding: 20px;
     flex-grow: 1;
     display: flex;
     flex-direction: column;
 }
 
 .article-title {
     font-size: 18px;
     color: #222;
     margin-bottom: 12px;
     font-weight: 600;
     line-height: 1.4;
 }
 
 .article-meta {
     display: flex;
     gap: 15px;
     color: #666;
     font-size: 14px;
     margin-bottom: 15px;
     margin-top: auto;
 }
 
 .article-excerpt {
     font-size: 15px;
     color: #666;
     line-height: 1.6;
     margin-bottom: 15px;
 }
 
 .reading-difficulty {
     display: inline-block;
     padding: 3px 8px;
     border-radius: 4px;
     font-size: 12px;
     font-weight: 500;
     margin-top: 5px;
 }
 
 .difficulty-1 {
     background-color: #e1f0db;
     color: #3a8d48;
 }
 
 .difficulty-2 {
     background-color: #fff8db;
     color: #b38800;
 }
 
 .difficulty-3 {
     background-color: #ffece6;
     color: #e64a19;
 }
 /* 分页样式 */
 
 .pagination {
     display: flex;
     justify-content: center;
     align-items: center;
     padding: 20px 0;
 }
 
 .page-item {
     margin: 0 5px;
 }
 
 .page-link {
     display: inline-block;
     padding: 8px 15px;
     border: 1px solid #eaeaea;
     border-radius: 6px;
     text-decoration: none;
     color: #555;
     font-weight: 500;
     transition: all 0.3s;
 }
 
 .page-link:hover {
     background-color: #4a6fa5;
     color: #fff;
     border-color: #4a6fa5;
 }
 
 .page-link.active {
     background-color: #4a6fa5;
     color: #fff;
     border-color: #4a6fa5;
 }
 
 .page-link.disabled {
     opacity: 0.5;
     cursor: not-allowed;
 }
 /* 页脚样式 */
 
 footer {
     background-color: #fff;
     padding: 30px 20px;
     border-top: 1px solid #eaeaea;
     margin-top: 50px;
 }
 
 .footer-content {
     display: flex;
     justify-content: space-between;
     align-items: center;
 }
 
 .footer-links a {
     text-decoration: none;
     color: #666;
     margin-left: 20px;
     font-size: 14px;
 }
 
 .footer-links a:hover {
     color: #4a6fa5;
 }
 
 .copyright {
     color: #888;
     font-size: 14px;
 }
 
 .el-pagination {
     display: flex;
     justify-content: center;
     margin: 30px auto 0;
     width: 100%;
 }
 
 .el-pagination__wrapper {
     display: inline-flex;
 }
 /* 响应式设计 */
 
 @media (max-width: 768px) {
     .articles-list {
         grid-template-columns: 1fr;
     }
     .category-header {
         flex-direction: column;
         align-items: flex-start;
         gap: 15px;
     }
     .sort-options {
         align-self: flex-end;
     }
     .category-info {
         width: 100%;
     }
     .page-link {
         padding: 6px 12px;
         font-size: 14px;
     }
     .article-thumbnail {
         height: 150px;
     }
 }